<?php

namespace app\common\command;

use app\common\cron\CronExpression;
use think\console\command\make\Command;
use think\console\Input;
use think\console\Output;
use think\Db;
use think\facade\Log;

class Test extends Command
{
    protected function configure()
    {
        $this->setName('Test');
    }

    /**
     * @param Input $input
     * @param Output $output
     * @return int|void|null
     * @throws \think\Exception
     * @throws \think\exception\PDOException
     */
    protected function execute(Input $input, Output $output)
    {
        Log::error(date('Y-m-d H:i:s') . '通过守护进程完成的');
    }

}